﻿/**********************************************
** Class_Kind:      DotNet Entity Class
** Creater:         Entity Class Generator
** Create Date:     2013-08-08 13:30:40
** Description:     Entity Class
** Version:         Entity Class Generator 1.0.0
**********************************************/
using System;
using System.Collections.Generic;
using System.Text;

namespace Zhuang.Model.Access
{
    /// <summary>
    ///
    /// </summary>
    public class ProductEntity
    {

        private int _productId;
        private string _productCode;
        private string _productName;
        private string _barCode;
        private string _searchCode;
        private string _unit;
        private string _specifications;
        private decimal _retailPrice;
        private decimal _wholesalePrice;
        private decimal _purchasePrice;
        private decimal _memberPrice;
        private string _status;
        private string _description;
        private DateTime _creationDate;
        private DateTime _modifiedDate;

        /// <summary>
        /// 默认构造方法.
        /// </summary>
        public ProductEntity()
        {
        }

        /// <summary>
        /// 含参构造方法.
        /// </summary>
        /// <param name="_productId"></param>
        /// <param name="_productCode"></param>
        /// <param name="_productName"></param>
        /// <param name="_barCode"></param>
        /// <param name="_searchCode"></param>
        /// <param name="_unit"></param>
        /// <param name="_specifications"></param>
        /// <param name="_retailPrice"></param>
        /// <param name="_wholesalePrice"></param>
        /// <param name="_purchasePrice"></param>
        /// <param name="_memberPrice"></param>
        /// <param name="_status"></param>
        /// <param name="_description"></param>
        /// <param name="_creationDate"></param>
        /// <param name="_modifiedDate"></param>
        public ProductEntity(int _productId,
                string _productCode,
                string _productName,
                string _barCode,
                string _searchCode,
                string _unit,
                string _specifications,
                decimal _retailPrice,
                decimal _wholesalePrice,
                decimal _purchasePrice,
                decimal _memberPrice,
                string _status,
                string _description,
                DateTime _creationDate,
                DateTime _modifiedDate)
        {
            this._productId = _productId;
            this._productCode = _productCode;
            this._productName = _productName;
            this._barCode = _barCode;
            this._searchCode = _searchCode;
            this._unit = _unit;
            this._specifications = _specifications;
            this._retailPrice = _retailPrice;
            this._wholesalePrice = _wholesalePrice;
            this._purchasePrice = _purchasePrice;
            this._memberPrice = _memberPrice;
            this._status = _status;
            this._description = _description;
            this._creationDate = _creationDate;
            this._modifiedDate = _modifiedDate;
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public int ProductId
        {
            get
            {
                return this._productId;
            }
            set
            {
                this._productId = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public string ProductCode
        {
            get
            {
                return this._productCode;
            }
            set
            {
                this._productCode = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public string ProductName
        {
            get
            {
                return this._productName;
            }
            set
            {
                this._productName = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public string BarCode
        {
            get
            {
                return this._barCode;
            }
            set
            {
                this._barCode = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public string SearchCode
        {
            get
            {
                return this._searchCode;
            }
            set
            {
                this._searchCode = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public string Unit
        {
            get
            {
                return this._unit;
            }
            set
            {
                this._unit = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public string Specifications
        {
            get
            {
                return this._specifications;
            }
            set
            {
                this._specifications = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public decimal RetailPrice
        {
            get
            {
                return this._retailPrice;
            }
            set
            {
                this._retailPrice = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public decimal WholesalePrice
        {
            get
            {
                return this._wholesalePrice;
            }
            set
            {
                this._wholesalePrice = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public decimal PurchasePrice
        {
            get
            {
                return this._purchasePrice;
            }
            set
            {
                this._purchasePrice = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public decimal MemberPrice
        {
            get
            {
                return this._memberPrice;
            }
            set
            {
                this._memberPrice = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public string Status
        {
            get
            {
                return this._status;
            }
            set
            {
                this._status = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public string Description
        {
            get
            {
                return this._description;
            }
            set
            {
                this._description = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public DateTime CreationDate
        {
            get
            {
                return this._creationDate;
            }
            set
            {
                this._creationDate = value;
            }
        }

        /// <summary>
        /// 获取或设置.
        /// </summary>
        public DateTime ModifiedDate
        {
            get
            {
                return this._modifiedDate;
            }
            set
            {
                this._modifiedDate = value;
            }
        }
    }
}